|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.engine.runtime.Component
org.eclipse.vtp.framework.engine.runtime.Configurable
org.eclipse.vtp.framework.engine.runtime.Executable
org.eclipse.vtp.framework.engine.runtime.Action
public class Action
Represents an action that can be run by the engine.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.vtp.framework.engine.runtime.Component |
|---|
blueprint, constructors, mutators |
| Constructor Summary | |
|---|---|
Action(Blueprint blueprint,
java.lang.String name,
org.w3c.dom.Element[] elements,
java.lang.String instanceID,
ActionDescriptor descriptor)
Creates a new Action. |
|
| Method Summary | |
|---|---|
void |
configure(java.lang.String resultID,
Executable next)
Configures an available result of this action. |
Executable |
execute(Sequence sequence)
Creates and executes an instance of this executable. |
Action |
getActionInstance()
Returns the ID of the action instance that owns this executable. |
int |
getActionState()
Returns the action state this executable runs in. |
protected java.lang.Class |
getComponentType()
|
java.lang.String |
getName()
Returns the name of the action. |
boolean |
isBlocking()
Returns true if this execution is blocking. |
| Methods inherited from class org.eclipse.vtp.framework.engine.runtime.Executable |
|---|
createInstance, createServiceRegistry, getInstanceID |
| Methods inherited from class org.eclipse.vtp.framework.engine.runtime.Configurable |
|---|
createBuilder, lookupAllConfigurations, lookupConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Action(Blueprint blueprint,
java.lang.String name,
org.w3c.dom.Element[] elements,
java.lang.String instanceID,
ActionDescriptor descriptor)
throws java.lang.NullPointerException
blueprint - The blueprint of the process.name - The name of the action.elements - The configuration data or null for no
configuration data.instanceID - The ID of this instance of the action.descriptor - The descriptor of the action.
java.lang.NullPointerException - If the supplied blueprint is null.
java.lang.NullPointerException - If the supplied instance ID is
null.
java.lang.NullPointerException - If the supplied descriptor is
null.| Method Detail |
|---|
public void configure(java.lang.String resultID,
Executable next)
resultID - The ID of the result path to configure.next - The next executable in the path.public java.lang.String getName()
public Action getActionInstance()
Executable
getActionInstance in class Executablepublic int getActionState()
Executable
getActionState in class Executablepublic boolean isBlocking()
Executable
isBlocking in class Executablepublic Executable execute(Sequence sequence)
Executable
execute in class Executablesequence - The sequence to create under.
null if the
process is over.protected java.lang.Class getComponentType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||